home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14411 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.iadfw.net!usenet
  2. From: Mark Nelson <markn@airmail.net>
  3. Newsgroups: comp.lang.c,comp.lang.pascal.borland,comp.lang.pascal.ansi-iso
  4. Subject: Re: I'd like some UART & serial communication routines
  5. Date: Sun, 14 Apr 1996 12:17:02 -0500
  6. Organization: customer of Internet America
  7. Message-ID: <3171330E.FA2@airmail.net>
  8. References: <51967.gaal0004@maroon.tc.umn.edu>
  9. NNTP-Posting-Host: dal21-20.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
  14.  
  15. Lawrence L. Gaalswyk wrote:
  16. > I am looking for some free Borland C/C++ or Turbo Pascal routines
  17. > to program the 8250/8251/16550 UART registers and to read and write
  18. > characters to comm ports on 80x86's.  Any help would be appreciated.
  19. > Basically, it would be great if I had self-contained modules that I
  20. > can call from a Pascal progam to initialize the UART, set the
  21. > data/parity/stop bits/speed/etc, and, of course, to read
  22. > and write a character, and to set and check the handshake signals (DTR,
  23. > RTS,etc.).  Hopefully that's not too much to ask.
  24.  
  25. Hi Lawrence,
  26.  
  27. Check my home page under "Articles", and you will find a couple of pieces 
  28. regarding talking to UARTs from C.  The code is attached to the web page
  29. and should work find with Borland C/C++.
  30.  
  31. You can also get information on my book "Serial Communications: A C++ 
  32. Developer's Guide", which has the same stuff but much more detail.
  33.  
  34. Mark Nelson
  35. http://web2.airmail.net/markn
  36.